<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: nc::coordinates Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">2.3.1</span>
   </div>
   <div id="projectbrief">A Templatized Header Only C++ Implementation of the Python NumPy Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('namespacenc_1_1coordinates.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">nc::coordinates Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds a full coordinate object.  <a href="classnc_1_1coordinates_1_1_coordinate.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1coordinates_1_1_dec.html">Dec</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds a Declination object.  <a href="classnc_1_1coordinates_1_1_dec.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1coordinates_1_1_r_a.html">RA</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds a right ascension object.  <a href="classnc_1_1coordinates_1_1_r_a.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a07a05f0462e5f74f05cbd04664c4ca94"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1coordinates.html#a07a05f0462e5f74f05cbd04664c4ca94">Sign</a> { <a class="el" href="namespacenc_1_1coordinates.html#a07a05f0462e5f74f05cbd04664c4ca94a50546bf973283065b6ccf09faf7a580a">Sign::NEGATIVE</a> = 0, 
<a class="el" href="namespacenc_1_1coordinates.html#a07a05f0462e5f74f05cbd04664c4ca94aab6c31432785221bae58327ef5f6ea58">Sign::POSITIVE</a>
 }</td></tr>
<tr class="memdesc:a07a05f0462e5f74f05cbd04664c4ca94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Struct Enum for positive or negative Dec angle.  <a href="namespacenc_1_1coordinates.html#a07a05f0462e5f74f05cbd04664c4ca94">More...</a><br /></td></tr>
<tr class="separator:a07a05f0462e5f74f05cbd04664c4ca94"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a06135e21507cfe2aa1cb4154fe1702bf"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1coordinates.html#a06135e21507cfe2aa1cb4154fe1702bf">degreeSeperation</a> (const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;inCoordinate1, const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;inCoordinate2)</td></tr>
<tr class="separator:a06135e21507cfe2aa1cb4154fe1702bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc47b2d64d107bcb19ff696ecff89edf"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1coordinates.html#abc47b2d64d107bcb19ff696ecff89edf">degreeSeperation</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;inVector1, const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;inVector2)</td></tr>
<tr class="separator:abc47b2d64d107bcb19ff696ecff89edf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa009e573b47b51d34d3aae0b152566c8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1coordinates.html#aa009e573b47b51d34d3aae0b152566c8">radianSeperation</a> (const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;inCoordinate1, const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;inCoordinate2)</td></tr>
<tr class="separator:aa009e573b47b51d34d3aae0b152566c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a712fd847123cfde7948c36ca59c6a435"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1coordinates.html#a712fd847123cfde7948c36ca59c6a435">radianSeperation</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;inVector1, const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;inVector2)</td></tr>
<tr class="separator:a712fd847123cfde7948c36ca59c6a435"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a07a05f0462e5f74f05cbd04664c4ca94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07a05f0462e5f74f05cbd04664c4ca94">&#9670;&nbsp;</a></span>Sign</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacenc_1_1coordinates.html#a07a05f0462e5f74f05cbd04664c4ca94">nc::coordinates::Sign</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Struct Enum for positive or negative <a class="el" href="classnc_1_1coordinates_1_1_dec.html" title="Holds a Declination object.">Dec</a> angle. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a07a05f0462e5f74f05cbd04664c4ca94a50546bf973283065b6ccf09faf7a580a"></a>NEGATIVE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a07a05f0462e5f74f05cbd04664c4ca94aab6c31432785221bae58327ef5f6ea58"></a>POSITIVE&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a06135e21507cfe2aa1cb4154fe1702bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06135e21507cfe2aa1cb4154fe1702bf">&#9670;&nbsp;</a></span>degreeSeperation() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double nc::coordinates::degreeSeperation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;&#160;</td>
          <td class="paramname"><em>inCoordinate1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;&#160;</td>
          <td class="paramname"><em>inCoordinate2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the degree seperation between the two Coordinates</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inCoordinate1</td><td></td></tr>
    <tr><td class="paramname">inCoordinate2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>degrees </dd></dl>

</div>
</div>
<a id="abc47b2d64d107bcb19ff696ecff89edf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc47b2d64d107bcb19ff696ecff89edf">&#9670;&nbsp;</a></span>degreeSeperation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double nc::coordinates::degreeSeperation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>inVector1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>inVector2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the degree seperation between the <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html" title="Holds a full coordinate object.">Coordinate</a> and the input vector</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inVector1</td><td></td></tr>
    <tr><td class="paramname">inVector2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>degrees </dd></dl>

</div>
</div>
<a id="aa009e573b47b51d34d3aae0b152566c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa009e573b47b51d34d3aae0b152566c8">&#9670;&nbsp;</a></span>radianSeperation() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double nc::coordinates::radianSeperation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;&#160;</td>
          <td class="paramname"><em>inCoordinate1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html">Coordinate</a> &amp;&#160;</td>
          <td class="paramname"><em>inCoordinate2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the radian seperation between the two Coordinates</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inCoordinate1</td><td></td></tr>
    <tr><td class="paramname">inCoordinate2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>radians </dd></dl>

</div>
</div>
<a id="a712fd847123cfde7948c36ca59c6a435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a712fd847123cfde7948c36ca59c6a435">&#9670;&nbsp;</a></span>radianSeperation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double nc::coordinates::radianSeperation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>inVector1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>inVector2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the radian seperation between the <a class="el" href="classnc_1_1coordinates_1_1_coordinate.html" title="Holds a full coordinate object.">Coordinate</a> and the input vector</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inVector1</td><td></td></tr>
    <tr><td class="paramname">inVector2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>radians </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenc.html">nc</a></li><li class="navelem"><a class="el" href="namespacenc_1_1coordinates.html">coordinates</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
